package com.itheima.CSM_bacK.aacMapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.Entity.Setmeal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CheckSetmealMapper {
    void add(Setmeal setmeal);

    void addAtConnection(Integer groupId, int setmealId);

    void edit(Setmeal setmeal);

    void deleteAtConnection(int setmealId);

    Setmeal findById(Integer id);

    Page<Setmeal> findPage(String queryString);

    List<Setmeal> getMeal();
}
